package org.jeecg.modules.param.maintain.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.bicycle.order.vo.SwitchLockRes;
import org.jeecg.modules.param.maintain.entity.BikePileLock;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.param.maintain.vo.BikePileLockRsp;

import java.util.List;

/**
 * @Description: 运维开关锁记录
 * @Author: 月月鸟
 * @Date:   2021-07-13
 * @Version: V1.0
 */
public interface BikePileLockMapper extends BaseMapper<BikePileLock> {

    IPage<SwitchLockRes> getPilePageList(IPage<SwitchLockRes> page, String userId);

    List<BikePileLockRsp> pageWebList(Page<BikePileLockRsp> page, @Param("bikePileLockRsp") BikePileLockRsp bikePileLockRsp);

    List<BikePileLockRsp> pageAdminList(Page<BikePileLockRsp> page, @Param("bikePileLockRsp") BikePileLockRsp bikePileLockRsp);

    List<BikePileLockRsp> webList(@Param("bikePileLockRsp") BikePileLockRsp bikePileLockRsp);

    List<BikePileLockRsp> adminList(@Param("bikePileLockRsp") BikePileLockRsp bikePileLockRsp);

    List<BikePileLockRsp> list(@Param("bikePileLockRsp") BikePileLockRsp bikePileLockRsp);

}
